package io.renren.modules.biz.dao;

import org.apache.ibatis.annotations.Param;

import io.renren.modules.biz.entity.BalanceTopupEntity;
import io.renren.modules.biz.entity.CountDto;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * 用户充值提现申请表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-09-03 14:51:31
 */
public interface BalanceTopupDao extends BaseMapper<BalanceTopupEntity> {

	/**
	 * 统计充值提现金额
	 * 
	 * @param memberId
	 * @param mobile
	 * @param startDate
	 * @param endDate
	 * @param status
	 * @return
	 */
	public CountDto sumTopupAmount(@Param("memberId") String memberId, @Param("mobile") String mobile, @Param("startDate") String startDate, @Param("endDate") String endDate,
			@Param("status") String status);

}
